from django.http import HttpResponse
from django.shortcuts import render 
# def hello(request):
#     return HttpResponse("Hello world ! ")
def hello(request):
    # context          = {}
    # context['hello'] = 'Hello World!'
    with open('/home/hao/workspace/linux_gaoji/tock/templates/main.html', "r")as f:
        data=f.read()
    #return render(request, 'hello.html', context)
    #print data
    return HttpResponse(data)